/*
 * @Author: wusd
 * @Date: 2022-05-18 14:55:03
 * @LastEditors: wusd
 * @LastEditTime: 2022-06-16 16:07:34
 * @Description:
 *
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import http from './api/axios'
import ElementUI from 'element-ui'
import page from 'wsd-components'
import 'element-ui/lib/theme-chalk/index.css'
import 'wsd-components/lib/wsd-components.css'
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(page)
Vue.prototype.$http = http

new Vue({
  router,
  store,
  render: h => h(App),
  created() {
    // 添加路由菜单
    store.dispatch('addMenue', router)
  }
}).$mount('#app')
